{% extends "base.html" %}
{% load i18n %}
{% load markup %}

{% block title %}{% trans "Podcast" %} - {{ channel }} - {{ object.title }}{% endblock %}

{% block extrahead %}
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" 
      href="http://{{ site.domain }}/rss/podcasts/{{ channel.slug }}" />
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" 
      href="http://{{ site.domain }}/atom/podcasts/{{ channel.slug }}" />
{% endblock %}

{% block content %}
<h2>{% trans "Podcasts" %}</h2>
<p class="subscribe"><a href="itpc://{{ site.domain }}/rss/podcasts/{{ channel.slug }}">Subscribe with iTunes to {{ channel }} podcasts</a></p>
<h4>{{ channel }}</h4>
<h3>{{ object.title }}</h3>
<p class="date">{{ object.pub_date|date:"l, F jS, Y" }}</p>
{{ object.summary|markdown }}
<ul>
  <li><a href="{{ object.get_audio_url }}">Download the mp3 for this episode</a> (right-click and save)</li> 
  <li><a href="itpc://{{ site.domain }}/rss/podcasts/{{ object.channel.slug }}">Subscribe to {{ object.channel.name }} in iTunes</a></li>
</ul>
{% endblock %}
